package com.lsa.edmonds.chap1;

import java.math.BigDecimal;

public class Test {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		System.out.println( 0.1f + 0.1f + 0.1f + 0.1f + 0.1f + 0.1f + 0.1f + 0.1f + 0.1f + 0.1f );
		System.out.println( 0.1d + 0.1d + 0.1d + 0.1d + 0.1d + 0.1d + 0.1d + 0.1d + 0.1d + 0.1d );
		
		System.out.println( new BigDecimal(2.3d) );
		//2.29999999999999982236431605997495353221893310546875
		//2.29999999999999982236431605997495353221893310546875
	}
}
